From cc761cbd459580e7936b3d673ddff74108019755 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Mon, 30 Jun 2025 16:19:09 -0400 Subject: [PATCH] [PATCH] Fix a crash when trying to block an account through the post menu Not sure why I try to access a non-existent identity property here, but it's fixed now. Gbp-Pq: Name upstream_128cdaa7_Fix-a-crash-when-trying-to-block-an-account-through-the-post-menu.patch --- src/content/ui/PostDelegate/PostMenu.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/ui/PostDelegate/PostMenu.qml b/src/content/ui/PostDelegate/PostMenu.qml index bf27c4e..2c7b4f7 100644 --- a/src/content/ui/PostDelegate/PostMenu.qml +++ b/src/content/ui/PostDelegate/PostMenu.qml @@ -181,9 +181,9 @@ Components.ConvergentContextMenu { } onTriggered: { if (root.authorIdentity.relationship && root.authorIdentity.relationship.blocking) { - AccountManager.selectedAccount.unblockAccount(root.authorIdentity.identity); + AccountManager.selectedAccount.unblockAccount(root.authorIdentity); } else { - AccountManager.selectedAccount.blockAccount(root.authorIdentity.identity); + AccountManager.selectedAccount.blockAccount(root.authorIdentity); } } } -- 2.30.2